package com.paper.tiger.easy.rpc.s.client.config;

import com.paper.tiger.easy.rpc.s.client.SpringContextSupport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * [简要描述]:
 * [详细描述]:
 *
 * @author ZouHaiBo
 * @version 1.0, 2021/6/22 19:38
 * @since JDK 1.8
 */
@Configuration
@EnableConfigurationProperties(Config.class)
public class AutoConfiguration
{
    private static Logger logger = LoggerFactory.getLogger(AutoConfiguration.class);

    @Bean
    public SpringContextSupport springContextSupport()
    {
        return new SpringContextSupport();
    }

    @Bean
    public Tiger tiger()
    {
        return new Tiger();
    }

    @Bean
    public Lion lion()
    {
        return new Lion();
    }


}
